STEP 6: Let's make a new if statement for the next combination of choices.

  • Go to and drag out if and. Drop it at the bottom of your program.
  • Change the first test variable to choice and the second test variable to computer_choice.
  • Go to and drag out Set Text. Drop it inside the if-and statement.
  • Change the name in front of the .set_text() command to result.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)